<?phpclass User extends Controller {	function __construct()	{		parent::Controller();		$this->load->helper('url');		$this->load->library(array('imagelib', 'frontview'));				$this->smartylib->assign('UserData', $this->session->userdata);		if(!$this->session->userdata('logged_in')) redirect('/admin/login/');			}	function index()	{		$this->smartylib->assign('page', $this->frontview->view('admin/', 'users'));		$this->smartylib->assign('users', Doctrine::getTable('Users')->findAll()->toArray(true));		$this->smartylib->display('admin/layout.tpl');	}	function add()	{	}	function delete($id)	{	}}?>